Ubuntu 22.04中解决Could not load the Qt platform plugin “xcb“问题解决方法

在Ubuntu22.04中安装OpenCV后,遇到“loadtheQtplatformplugin\"xcb\"insite-packages/cv2/qt/plugins\"eventhou...